package com.hundsun.yr.universal.p2p.presenter.impl;

import android.content.Context;

import com.hundsun.yr.universal.p2p.interactor.impl.AutomaticBidAdcancedSettingInteractorImpl;
import com.hundsun.yr.universal.p2p.presenter.base.RequestPresenter;
import com.hundsun.yr.universal.p2p.view.AutomaticBidAdvancedSettingView;


/**
 * @Title: SettingPresenterImpl.java 
 * @Description: TODO(用一句话描述该文件做什么) 
 * @date 2015-10-27 上午11:18:59 
 * @author:hejun.shen
 * @email:shenhj15971@hundsun.com 
 * @replace author:
 * @replace date:
 * @version V1.0   
 */
public class AutomaticBidAdvancedSettingPresenterImpl extends InitializePresenterImpl implements RequestPresenter{


	private Context mContext = null;
	private AutomaticBidAdvancedSettingView mSettingView = null;

	private AutomaticBidAdcancedSettingInteractorImpl mInteractor;



	public AutomaticBidAdvancedSettingPresenterImpl(Context context, AutomaticBidAdvancedSettingView view) {
		// TODO Auto-generated constructor stub
		super(context, view);
		if (null == view) {
            throw new IllegalArgumentException("Constructor's parameters must not be Null");
        }
		this.mContext=context;
		this.mSettingView=view;
		this.mInteractor=new AutomaticBidAdcancedSettingInteractorImpl();
	}

	@Override
	public void initialized() {
		// TODO Auto-generated method stub

		mSettingView.setAdapter(mInteractor.getExpandItemData(mContext));
	}
}
